/*
 * Copyright (C) 2025 Tsingteng MicroSystem
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
 * @file nci_native_adapter_tmsnci.cpp
 * @brief NciNativeAdapterTmsNci接口实现
 */

#include "nci_native_adapter_tmsnci.h"
#include "nci_nfcc_impl_tmsnci.h"
#include "nci_ce_impl_tmsnci.h"
#include "nci_tag_impl_tmsnci.h"

namespace OHOS {
namespace NFC {
namespace NCI {
DECLARE_NATIVE_INTERFACE(NciNativeAdapterTmsNci);

std::shared_ptr<INciCeInterface> NciNativeAdapterTmsNci::GetNciCeInterface() {
    std::shared_ptr<INciCeInterface> ptr(&NciCeImplTmsNci::GetInstance());
    return ptr;
}

std::shared_ptr<INciNfccInterface> NciNativeAdapterTmsNci::GetNciNfccInterface() {
    std::shared_ptr<INciNfccInterface> ptr(&NciNfccImplTmsNci::GetInstance());
    return ptr;
}

std::shared_ptr<INciTagInterface> NciNativeAdapterTmsNci::GetNciTagInterface() {
    std::shared_ptr<INciTagInterface> ptr(&NciTagImplTmsNci::GetInstance());
    return ptr;
}

}  // namespace NCI
}  // namespace NFC
}  // namespace OHOS